package com.gxwz.medical.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.gxwz.medical.domain.Policy;

public class PolicyDao extends GenericDao<Policy> {

	@Override
	protected Policy handle(ResultSet rs) throws SQLException {
		Policy entity=new Policy();
		entity.setRunyear(rs.getString("runyear"));
		entity.setMaxline(rs.getDouble("maxline"));
		entity.setStatus(rs.getString("status"));
		entity.setRemark(rs.getString("remark"));
		return entity;
	}

}
